package vista;
import java.awt.BorderLayout;
import java.awt.CardLayout;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.AbstractTableModel;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VistaRecordIntermedio extends javax.swing.JDialog {
	private JPanel jPanelRecordIntermedio;
	private JScrollPane jScrollPaneRecordIntermedio;
	private JLabel jLabelRecordIntermedio;
	private JTable tblIntermedio;

	/**
	* Auto-generated main method to display this JDialog
	*/
		
	public VistaRecordIntermedio() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				jPanelRecordIntermedio = new JPanel();
				getContentPane().add(jPanelRecordIntermedio, BorderLayout.CENTER);
				jPanelRecordIntermedio.setLayout(null);
				{
					jLabelRecordIntermedio = new JLabel();
					jPanelRecordIntermedio.add(jLabelRecordIntermedio);
					jLabelRecordIntermedio.setText("Record de Partidas Intermedias");
					jLabelRecordIntermedio.setFont(new java.awt.Font("Segoe UI",0,16));
					jLabelRecordIntermedio.setBounds(32, 28, 318, 31);
				}
				{
					jScrollPaneRecordIntermedio = new JScrollPane();
					jPanelRecordIntermedio.add(jScrollPaneRecordIntermedio);
					jScrollPaneRecordIntermedio.setBounds(12, 63, 360, 187);
					{
						tblIntermedio = new JTable();
						jScrollPaneRecordIntermedio.setViewportView(tblIntermedio);
					}
				}
			}
			this.setSize(537, 400);
			this.setLocation(250,250);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	public void setResultados(AbstractTableModel abstractTableModel) {
		tblIntermedio.setModel(abstractTableModel);
	}
}
